<?php echo elgg_view('golfscore/title');?>
<?php
$golf_score_id = get_input('golf_score_id');
$score_type = get_input('score_type');
$holes_played = get_input('holes_played');
$month = get_input('month');
$day = get_input('day');
$year = get_input('year');
$course_id = get_input('course');
$tee = get_input('tee');
$rating = get_input('rating');
$slope = get_input('slope');
$score = get_input('score');
echo "<p id='save_score_error_id' style='display:none'></p>";
echo elgg_view('input/text',  array(
		'class' => 'elgg-golfscore-score', 
		'id' => 'score_id', 
		'value' => $score, 
));
echo elgg_view('input/submit',  array(
		'value' => elgg_echo('Done'), 
		'onclick' => "onSaveScore('$golf_score_id', '$score_type', '$holes_played', '$month', '$day', '$year', '$course_id', '$tee', '$rating', '$slope');return false;", 
));
